<?php
$id=$_GET['id'];
include "pdo.php";
$dbh=new pdo1();
$query=$dbh->update_status($id);
if($query)
{
     header("location:login.php");
}
else{
    echo "激活失败";
}